/*
	The directives starting with # below ensures that this file is read by the compiler only once
	even if it is #included several times. It is call an "include guard"
*/
#ifndef CART_H_
#define CART_H_

//other types
#include "Date.h"				//uncomment once you have added the type definition
#include <string>
using namespace std;

struct Cart {
public:
	//data

	// constructors
	//Cart () {}
	Cart(int cartId,int custId,Date cartBuyDate) : cart_purchase_date(cartBuyDate.year(), cartBuyDate.month(), cartBuyDate.day()) //added MF A2
	{
		cart_id=cartId;
		cust_id=custId;		
	}

   // utility functions
	string display() const;
	int getCust_id() const; //added SS S2 : return cust_id
	int getCart_id() const; //addedd SS S2 : return cart_id
private:
   //constants

   // private data
	int cart_id;
	int cust_id;
	Date cart_purchase_date;	//uncomment once you have added the type definition
};


#endif //CART_H_